From 08833dd4af646fa61f79c07c3416995f9ee5cb23 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 1 May 2007 16:31:24 +0000 Subject: [PATCH] Revert 'MonoBookTemplateAboveColumnContent' hook. Seems weirdly skin-specific for no good reason, and generally ugly. There shouldn't be any hook calls in the skin template output at all -- looks like one snuck in before, and it should also be removed and replaced with a general toolbox system. This one won't be allowed to take root first. --- docs/hooks.txt | 4 ---- skins/MonoBook.php | 5 ----- 2 files changed, 9 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 5e81eaede1..a043bd1855 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -431,10 +431,6 @@ $mathRenderer: instance of MathRenderer $errmsg: error message, in HTML (string). Nonempty indicates failure of rendering the formula -'MonoBookTemplateAboveColumnContent': Monobook output, above div#column-content. Any string -you echo here will be printed above the div#column-content element on every page. -$outObj: instance of the output class - 'OutputPageBeforeHTML': a page has been processed by the parser and the resulting HTML is about to be displayed. $parserOutput: the parserOutput (object) that corresponds to the page diff --git a/skins/MonoBook.php b/skins/MonoBook.php index a8a829b8b0..50d7f00f3e 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -95,11 +95,6 @@ class MonoBookTemplate extends QuickTemplate { data['body_onload' ]) { ?>onload="text('body_onload') ?>" class="mediawiki text('nsclass') ?> text('dir') ?> text('pageclass') ?>">
-
-- 2.20.1